﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Digitalmes.Model.PlanningManagement;
using Digitalmes.Model;
namespace Digitalmes.ViewModel.PlanningManagement.ProductionOrderVMs
{
    public partial class ProductionOrderSearcher : BaseSearcher
    {
        
        [Display(Name = "_Model._ProductionOrder._Plan")]
        public long? PlanId { get; set; }
        [Display(Name = "_Model._ProductionOrder._ProductId")]
        public long? ProductId { get; set; }
        [Display(Name = "_Model._ProductionOrder._ProductCode")]
        public string ProductCode { get; set; }
        [Display(Name = "_Model._ProductionOrder._ProductName")]
        public string ProductName { get; set; }
        [Display(Name = "_Model._ProductionOrder._Wo")]
        public string Wo { get; set; }
        [Display(Name = "_Model._ProductionOrder._PlanQty")]
        public decimal? PlanQty { get; set; }
        [Display(Name = "_Model._ProductionOrder._OnlineQty")]
        public decimal? OnlineQty { get; set; }
        [Display(Name = "_Model._ProductionOrder._CompletedQty")]
        public decimal? CompletedQty { get; set; }
        [Display(Name = "_Model._ProductionOrder._QualifiedQty")]
        public decimal? QualifiedQty { get; set; }
        [Display(Name = "_Model._ProductionOrder._UnqualifiedQty")]
        public decimal? UnqualifiedQty { get; set; }
        [Display(Name = "_Model._ProductionOrder._ScrapQty")]
        public decimal? ScrapQty { get; set; }
        [Display(Name = "_Model._ProductionOrder._PlanStartTime")]
        public DateRange PlanStartTime { get; set; }
        [Display(Name = "_Model._ProductionOrder._PlanEndTime")]
        public DateRange PlanEndTime { get; set; }
        [Display(Name = "_Model._ProductionOrder._ActualStartTime")]
        public DateRange ActualStartTime { get; set; }
        [Display(Name = "_Model._ProductionOrder._ActualEndTime")]
        public DateRange ActualEndTime { get; set; }
        [Display(Name = "_Model._ProductionOrder._OrderStatus")]
        public WoStatusEnum? OrderStatus { get; set; }
        [Display(Name = "_Model._ProductionOrder._OrderSource")]
        public WoSourceEnum? OrderSource { get; set; }
        [Display(Name = "_Model._ProductionOrder._Sort")]
        public int? Sort { get; set; }
        [Display(Name = "_Model._ProductionOrder._CreateTime")]
        public DateRange CreateTime { get; set; }
        [Display(Name = "_Model._ProductionOrder._UpdateTime")]
        public DateRange UpdateTime { get; set; }
        [Display(Name = "_Model._ProductionOrder._CreateBy")]
        public string CreateBy { get; set; }
        [Display(Name = "_Model._ProductionOrder._UpdateBy")]
        public string UpdateBy { get; set; }

        protected override void InitVM()
        {
            

        }
    }

}